package com.tanhua.model.vo;


import com.tanhua.model.soul.SoulAsk;
import com.tanhua.model.soul.SoulQuestions;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.beans.BeanUtils;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class TestSoulVo {
    private String id;
    private String name;
    private String cover;
    private String leavel;
    private Integer star;


    private Integer isLock;
    private String reportId;

    private List<QuestionVo> questions;


    public static TestSoulVo init(TestSoulVo vo,SoulAsk soulAsk){
        BeanUtils.copyProperties(soulAsk,vo);
        return vo;
    };



}
